package Typage;

import Error.TypeError;
import Semantique.Visitor;

public class Type {
	public Loc ty_loc;

	public String ty_val;

	public Type(Loc ty_loc_init, String ty_val_init) {
		this.ty_loc = ty_loc_init;
		this.ty_val = ty_val_init;
	}

	public void accept(Visitor v) throws TypeError {
		v.visit(this);
	}
}